-
-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed PositionedTapDetector2's transformation of global to local coords #1676
Conversation
…ave been missed with previous refactors.
…form the global to local coordinates.
I can't think of a reason why we wouldn't use the second option. I wonder if this will also open up the route to perspective with |
From my understanding of I'll amend this to just do option 2. It's less code and simpler. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, many thanks once again!
Now, before we accept this PR, there are two possible solutions
or
Option 2 is clearly the simplest, but it is unclear to me why that wasn't always the case. Perhaps
localPosition
wasn't a member when this code was written. (Which btw localPosition was added to flutter ~4 years ago). @TesteurManiak last touched this code ~6 months ago, and perhaps knows why local wasn't used.